package com.mida.bms.report.vo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.mida.tool.common.utils.LongToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.print.attribute.DocAttribute;
import java.util.List;

/**
 * <h1>报告vo</h1>
 * <p>
 *  所见即所得
 * </p>
 *
 * @author jian.li on 2021/4/30 14:48
 */
@Data
public class DocReportVo {

    // 段落、片段、slot、vaule
    private List<DocReportParagraphVo> docStructParagraphVoList;

    // 报告存储图片路径vo
    private List<DocStructReportImgVo> docStructReportImgVoList;

    @ApiModelProperty(value = "报告模板名称")
    private String stTemplateName;
    @ApiModelProperty(value = "报告模板soid")
    @JsonSerialize(using= com.fasterxml.jackson.databind.ser.std.ToStringSerializer.class)
    private Long stTemplateInfoSoid;

    @ApiModelProperty(value = "报告样式")
    private  DocStructCssVo docStructCssVo;

    @ApiModelProperty(value = "报告logo属性")
    private List<AttributeVo> attributeVoList;

    @ApiModelProperty(value = "报告属性顺序（前端使用）")
    private String drawingList;
}
